<?php

namespace App\Http\Controllers\Api;

use App\Http\Controllers\Controller;
use App\Requests\Api\CourseArrange\ListRequest;
use App\Requests\Api\CourseStudent\ReportRequest;
use App\Service\CourseStudentService;
use Illuminate\Support\Arr;

class CourseStudentController extends Controller
{
    protected $fractal;
    protected $courseStudentService;

    public function __construct(
        CourseStudentService $courseStudentService
    ){
        $this->courseStudentService = $courseStudentService;
    }

    public function list(ListRequest $request) {
        $courseArrageInfo = $this->courseStudentService->list(request(['course_arrange_id']));
        return response($courseArrageInfo);
    }


}
